/*
 * DiscoveryContract.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.main.discovery.page;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.data.response.DiscoveryItemTypeResponse;
import com.yidiandao.business.interfaces.RefreshLayoutStateListener;

import java.util.List;

/**
 * 发现-活动
 */
public class DiscoveryPageContract {

    interface Presenter extends BasePresenter {

        void loadDiscoveryData();
    }

    interface View extends BaseView<Presenter>, RefreshLayoutStateListener {

        int getTypeId();

        void setTitleList(List<DiscoveryItemTypeResponse.DataBean.CatListBean> list);
    }
}
